<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
 <%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<base href="<%=basePath%>">

	<title>ichange - 私信</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
	
		<link href="./skin/mail_files/message.css" rel="stylesheet" type="text/css">
		<jsp:include page="../skin/jsp/files.jsp"></jsp:include>
	
		
	</head>

	<body>
		                               
		
</script>
		<script type="text/javascript">
function hi(){
	//alert(1);
	$.wokaobox.close();location.reload();
	
}
</script>
		
			<jsp:include page="header.jsp"></jsp:include>
		
		<div id="content" class="refresh" style="">
			<h2 style="margin-left: 10px;">
				私信
			</h2>
			<div
				style="background-color: #952C2B; height: 5px; width: 60px; margin-left: 10px; margin-bottom: 0px; margin-top: 0px;"></div>
			<div id="wrap">
				<a href="pmsend.action" rel="wokaobox" class="write-btn">写
					信</a>
				
				
				
				  <s:iterator value="tm.data">
  		 
  		<div class="message-item cf">
					<a href="itemsProfileAction.action?userId=<s:property value=" lastPm.sender.id"/>" class="fl" title="<s:property value="lastPm.sender.name"/>"><img
							src="<s:property value="lastPm.sender.photo"/>"
							 width="40" height="40">
						<input type="hidden" name="id" value="6141440164">
					</a>
					<div class="message_right fl">
						<p>
						<s:if test="lastPm.sender.id ==  tm.attr.me.id">
							发给<a href="itemsProfileAction.action?userId=<s:property value="lastPm.receiptor.id"/>" title="<s:property value="lastPm.receiptor.name"/>"><s:property value="lastPm.receiptor.name"/></a>	
						</s:if>
						<s:else>
							<a href="itemsProfileAction.action?userId=<s:property value="lastPm.sender.id"/>" title="<s:property value="lastPm.sender.name"/>"><s:property value="lastPm.sender.name"/></a>
						</s:else>
							 ：
							<s:property value="lastPm.content"/>
						</p>
						<p class="time">
							<s:date name="lastPm.pubtime" format="yyyy-MM-dd hh:mm:ss"/> ·
							<a
								href="pmdialog?id=<s:property value="dialog.id"/>">对话(${unreadCount} /<s:property value="totalCount"/>)</a>
							·
							<a
								href="pmRemoveBatch?id=<s:property value="dialog.id"/>">删除</a>
						</p>
					</div>

				</div>
   		 </s:iterator>
    	
				
				<div class="page-turn">
				</div>
			</div>
		</div>
		<!--end content-->

		
		<jsp:include page="../skin/jsp/footer.jsp"></jsp:include>
		
			<script src="./skin/mail_files/wokaobox.min.js" type="text/javascript"
			charset="utf-8">
</script>
		<script type="text/javascript">
jQuery.global.init();</script>




		<script type="text/javascript">
$(function() {
	$('a[rel="wokaobox"]').wokaobox( {
		'width' : 440,
		'height' : 270,
		'type' : 'iframe'
	});
});
</script>

		
		
	</body>
	<link rel="stylesheet" type="text/css" href="data:text/css,">
</html>



